package aufgabe_1_test;

import java.rmi.Naming;

public class HelloClient {
	public static void main(String args[]) {
    try {		
      HelloServer server; 
      server = (HelloServer)Naming.lookup("//localhost/hello-server");
      String result = server.sayHello();
      System.out.println(result);
    } catch(Exception ex) {
      ex.printStackTrace();
    }
  }
} 
